import sys
import os

def to_str_file(filepath):
    file = open(filepath)
    lines = file.readlines()
    for line in lines:
        print(r'"{}\n"'.format(line.replace('\n', '')))

if __name__ == '__main__':
    path = os.getcwd()    
    list = os.listdir(path)
    for item in list:
        if item.endswith('.frag'): 
            total_path = path + "/" + item
            print("convert file: "+total_path)
            to_str_file(total_path)
            print("")
